#define _CRT_SECURE_NO_WARNINGS
#include"dictionary.h"

//initializing sets a dictionary.
template<class K,class E>
void initialize(pairNode<K,E>*& firstNode)
{
	pairNode<K, E>* first = new pairNode<K, E>(std::pair<const K, E>(1, "Terraria"));
	pairNode<K, E>* second = new pairNode<K, E>(std::pair<const K, E>(2, "Famine"));
	pairNode<K, E>* third = new pairNode<K, E>(std::pair<const K, E>(3, "Hollw Knight"));
	pairNode<K, E>* fourth = new pairNode<K, E>(std::pair<const K, E>(4, "Kingdom Rush"));
	pairNode<K, E>* fifth = new pairNode<K, E>(std::pair<const K, E>(5, "Honor of Kings"));

	firstNode = first;
	first->next = second;
	second->next = third;
	third->next = fourth;
	fourth->next = fifth;
	fifth->next = NULL;
}

template void initialize<int, string>(pairNode<int, string>*&);
